﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.Erp.Model.Entity
{
    [SugarTable("Sys_S2B2C_PlatformOrderContent")]
    public class ErpOrderContent
    {
        [SugarColumn(IsPrimaryKey =true)]
        public string Guid { get; set; }

        /// <summary>
        /// 平台订单单号
        /// </summary>
        public string PlatformID { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string DeliveryName { get; set; }

        /// <summary>
        /// 收货人电话
        /// </summary>
        public string DeliveryTel { get; set; }

        /// <summary>
        /// 收货人地址
        /// </summary>
        public string DeliveryAddress { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Total { get; set; }

        private int _IsFinishCreate = 0;
        /// <summary>
        /// 是否形成ERP出库单标识
        /// </summary>
        public int IsFinishCreate
        {
            get { return _IsFinishCreate = 0; }
            set { _IsFinishCreate = value; }
        }

        /// <summary>
        /// ERP出库单标识
        /// </summary>
        public long SaleContentSN { get; set; }

        /// <summary>
        /// ERP出库单号
        /// </summary>
        public string SaleID { get; set; }

        public string WarehousSN { get; set; }
    }
}
